<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户管理</title>
    <link href="/AppStore/Public/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <script src="/AppStore/Public/bootstrap/js/jquery.min.js"></script>
    <script src="/AppStore/Public/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>

</head>
<body>
<h1>用户管理界面</h1>
<div>
<table class="table table-bordered table-striped table-hover">
    <tr>
        <th class="col-sm-1">头像</th>
        <th class="col-sm-1">用户名</th>
        <th class="col-sm-1">真实姓名</th>
        <th class="col-sm-1">邮箱</th>
        <th class="col-sm-1">电话</th>
        <th class="col-sm-1">状态</th>
        <th class="col-sm-1">审核信息</th>
        <th class="col-sm-1">明星作者</th>
        <th class="col-sm-1">首页推荐</th>
        <th class="col-sm-1">操作</th>
    </tr>

    <!--可以接受$users变量-->
    <?php if(is_array($users)): $i = 0; $__LIST__ = $users;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
            <td><img src="/AppStore/Public/Uploads/photo/<?php echo ($vo["photo"]); ?>" alt="图像不存在" width="100"></td>
            <!--/AppStore/Public表示public目录-->
            <td><?php echo ($vo["username"]); ?></td>
            <td><?php echo ($vo['realname']); ?></td>
            <td><?php echo ($vo["email"]); ?></td>
            <td><?php echo ($vo["tele"]); ?></td>
            <!-- 0代表禁用  1普通  2禁言-->
            <td>
                <?php if($vo["state"] == 0): ?>禁用
                    <?php elseif($vo["state"] == 1): ?>普通
                    <?php else: ?>禁言<?php endif; ?>
            </td>
            <td><?php echo ($vo["verifyinfo"]); ?></td>
            <!-- 0是  1否-->
            <td>
                <?php if($vo["isstar"] == 0): ?>是
                    <?php else: ?>否<?php endif; ?>
            </td>
            <!-- 0是  1否-->
            <td>
                <?php if($vo["isfirst"] == 0): ?>是
                    <?php else: ?>否<?php endif; ?>
            </td>
            <td>修改<br>
                删除<br>
                取消明星作者<br>
                取消首页推荐<br>
                禁用</td>
        </tr><?php endforeach; endif; else: echo "" ;endif; ?>
</table>

<div class="pagination " align="center">
    <?php echo ($page); ?>
</div>
</div>
'ROOT:'  /AppStore<br>
'APP:'  /AppStore/index.php<br>
'MOILE:'  /AppStore/index.php<br>
'CONTROLLER:'  /AppStore/index.php/Admin/Index<br>
'URL:'  /AppStore/index.php/Admin/Index<br>
'ACTION:'  /AppStore/index.php/Admin/Index/bsUserList<br>
'SELF:'  /AppStore/index.php/Admin/Index/bsUserList/p/3.html<br>
'PUBLIC:'  /AppStore/Public


</body>
</html>